package com.example.aiquestions.entity;

import lombok.Data;
import java.util.Date;

@Data
public class Subject {
    private Long id;
    private String name;
    private String description;
    private Long createdId;
    private Date createdAt;
    private Date updatedAt;
    private Integer status;

    public Subject() {
    }

    public Subject(Long id, String name, String description, Long createdId, Date createdAt, Date updatedAt, Integer status) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.createdId = createdId;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
        this.status = status;
    }

    // Getters and Setters
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
} 